// ignore_for_file: prefer_final_fields
// ignore_for_file: file_names, prefer_const_literals_to_create_immutables, prefer_const_constructors, camel_case_types, avoid_print



import 'package:flutter/cupertino.dart';
import 'package:flutter_screenutil/flutter_screenutil.dart';
import 'package:get/get.dart';
import 'package:guo_xue_app/pages.dart';

class FrontPageLogic extends GetxController {
  RxInt count = 0.obs;
  List<Banners> banner = [];



  Widget  GestureDetectorWidget(String GestDeText , String onTapGet ){

    return GestureDetector(
        onTap: (){
          Get.toNamed(onTapGet);
        },
        child:Container(
          padding: const EdgeInsets.symmetric(vertical: 20.0),
          alignment: Alignment.center,
          decoration: BoxDecoration(
              border:
              Border.all(color: Color(0xFFB8C0D4), width: 1.0),
              borderRadius: BorderRadius.circular(15.0)),
          child:  Text(
            GestDeText,
            style: TextStyle(color: Color(0xFF1A2F51), fontSize: 16.r),
          ),
          margin: const EdgeInsets.only(left: 100, right: 100),
        )
    );
  }

}
